body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #4CAF50;
    text-align: center;
    margin-bottom: 1rem;
}

.about-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 1rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    margin-left: 2rem;
}

.about-menu-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.menu-item {
    text-align: center;
    margin: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: scale(1.05);
}

.skills-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill-item {
    text-align: center;
    margin: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 150px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.1);
}

.projects-content, .contact-content {
    margin-top: 1rem;
}

.project-item, .contact-content ul {
    margin-bottom: 1rem;
}

.project-item h3 {
    color: #2196F3;
}

.project-item a {
    color: #2196F3;
    text-decoration: none;
}

.project-item a:hover {
    text-decoration: underline;
}

.contact-content ul {
    list-style: none;
    padding: 0;
}

.contact-content ul li {
    margin: 0.5rem 0;
}

.contact-content ul li a {
    color: #2196F3;
    text-decoration: none;
}

.contact-content ul li a:hover {
    text-decoration: underline;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

section {
    animation: fadeIn 1s ease-in-out;
}